Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Validate check.yaml's repo interface support #1210

Merged
merged 4 commits into from
Nov 2, 2021

Conversation

laurentsimon
Copy link
Contributor

  • Please check if the PR fulfills these requirements

This PR adds validation to ensure the repos field in the checks.yaml file is consistent with the check's implementation. It currently uses regex to look for repo client APIs, but later we could use a callgraph if needed.

No breaking change in this PR.

Copy link
Member

@naveensrinivasan naveensrinivasan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

docs/checks/internal/validate/main.go Show resolved Hide resolved
@laurentsimon laurentsimon merged commit 8a83a81 into ossf:main Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants